<!--
 * @Author: Liu
 * @Date: 2023-05-08 16:56:10
 * @LastEditTime: 2023-05-08 17:12:11
-->
<template>
  <div class="demonstration" v-if="props.isShow" @click="$emit('handleClose')">
    <img src="/images/demonstration.png" alt="" :class="[props.isShow && 'scale-in-center']" >
  </div>
</template>

<script setup>
    const props = defineProps({
        isShow:{
            type:Boolean,
            default:false
        }
    })

</script>
<style  scoped>
.demonstration{
    width: 100%;
    position: fixed;
    z-index: 9999;
    height: 100vh;
    background-color: rgba(0, 0, 0, .6);
    display: flex;
    justify-content: center;
    align-items: center;
    top: 0;
    left: 0;
}
.demonstration>img{
    width: 619px;
}

</style>